<?php

/**
 * Description of ErrorController
 *
 * @author     Mon Zafra <monzee at gmail>
 * @copyright  (c)2009 Mon Zafra
 * @category   Mz
 * @package
 * @license    http://mz-project.googlecode.com/svn/trunk/LICENSE    MIT License
 * @version    SVN: $Id: ErrorController.php 33 2009-05-15 04:12:24Z monzee $
 */
class Admin_ErrorController extends Zend_Controller_Action
{
    public function deniedAction()
    {
        $this->_helper->viewRenderer->setNoRender(true);
        $logout = $this->_helper->url('logout', 'user', 'admin');
        echo 'Access denied. <a href="' . $logout . '">Logout</a>';
    }

}